﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Modules.timecapsule.ui {
    import flash.utils.*;
    import Display.DialogUI.*;
    import org.aswing.*;
    import Classes.*;
    import flash.text.*;
    import Display.aswingui.*;

    public class LetterPictureDialogView extends GenericPictureDialogView {

        protected var m_letterText:String;

        public function LetterPictureDialogView(_arg1:Dictionary, _arg2:String="", _arg3:String="", _arg4:int=0, _arg5:Function=null, _arg6:String="", _arg7:int=0, _arg8:String="Invite", _arg9:String=""){
            this.m_letterText = _arg9;
            super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8);
        }
        override protected function makeImagePanel():JPanel{
            var _local1:JPanel;
            var _local2:JPanel;
            var _local3:AssetPane;
            _local1 = ASwingHelper.makeSoftBoxJPanel(SoftBoxLayout.CENTER);
            ASwingHelper.setSizedBackground(_local1, m_assetDict["image"], new Insets(0, 0, 10, 0));
            _local2 = ASwingHelper.makeSoftBoxJPanelVertical(SoftBoxLayout.TOP);
            _local3 = ASwingHelper.makeMultilineText(this.m_letterText, 195, EmbeddedArt.DEFAULT_SERIF_FONT, TextFormatAlign.LEFT, 20);
            _local2.appendAll(ASwingHelper.verticalStrut(25), _local3);
            _local1.appendAll(ASwingHelper.horizontalStrut(190), _local2);
            return (_local1);
        }

    }
}//package Modules.timecapsule.ui 
